package com.adnaan.backend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * author: adnaan
 * create: 2025-02-23 16:57
 * Description:
 */
@Data
@TableName("user_likes")
@Tag(name = "用户点赞表")
public class UserLikes {

    @Schema(name = "userId", description = "用户ID")
    private Long userId;

    @Schema(name = "articleId", description = "文章ID")
    private Long articleId;

    @Schema(name = "likeTime", description = "点赞时间")
    private Date likeTime;
}
